package com.car.service;

import com.car.entity.Coupon;
import java.util.List;

public interface CouponService {
    int deleteByPrimaryKey(Integer assetID);

    int insert(Coupon record);

    Coupon selectByPrimaryKey(Integer assetID);

    List<Coupon> selectAll();

    int updateByPrimaryKey(Coupon record);
    
    List<Coupon> selectAllByuserId(Integer userId);
    
    int countByUserId(Integer userId);
}